/* 网站公共区域的css */
.w {
  width: 1200px;
  margin: 0 auto;
}
.fl {
  float: left;
}

.fr {
  float: right;
}

.red {
  color: #c81623;
}

/* shortcat ********************** */
.shortcut {
  height: 31px;
  line-height: 31px;
  background-color: #f1f1f1;
}

.shortcut a,
.shortcut span {
  margin-left: 15px;
}

.shortcut a i {
  vertical-align: middle;
}

/* header********************************** */
.header {
  position: relative;
  height: 106px;
  /* background-color: antiquewhite; */
}
.header .logo,
.header .search,
.header .shop_car {
  top: 25px;
  position: absolute;
}

.header .logo {
  left: 0;
  width: 172px;
  height: 61px;
  /* background-color: aquamarine; */
}

.logo a {
  display: block;
  height: 61px;
  background: url(./../img/logo.png) no-repeat;
  font-size: 0;
}

.header .search {
  left: 347px;
  height: 80px;
  width: 538px;
  /* background-color: blueviolet; */
}
.search form {
  width: 534px;
  height: 32px;
  border: 2px solid #c81623;
  margin-bottom: 8px;
}
.search form input {
  width: 454px;
  height: 32px;
  text-indent: 2em;
}

.search form button {
  width: 80px;
  height: 32px;
  font-size: 16px;
  color: #fff;
  background-color: #c81623;
}

.search .hot_words a {
  margin: 0 12px;
}

.header .shop_car {
  position: relative;
  left: 995px;
  width: 138px;
  height: 34px;
  line-height: 34px;
  border: 1px solid #dfdfdf;
  text-align: center;
}

.header .shop_car span {
  margin: 0 5px;
}

.header .shop_car .num {
  position: absolute;
  top: -7px;
  left: 108px;
  padding: 0 5px;
  background-color: #c81623;
  color: #fff;
  height: 14px;
  line-height: 14px;
  border-radius: 7px 7px 7px 0;
}

/* nav_w */

.nav_w {
  height: 45px;
  border-bottom: 2px solid #c81623;
}
/* 左侧 */

.nav_left {
  position: relative;
  width: 209px;
  height: 45px;
  margin-right: 10px;
}
/* hd */
.nav_left .hd {
  height: 45px;
  line-height: 45px;
  font-size: 16px;
  background-color: #b1191a;
  color: #fff;
  text-align: center;
}

/* bd */
.nav_left .bd {
  /* 通过定位来实现 */
  position: absolute;
  display: none;
  width: 209px;
  left: 0;
  top: 47px;
  height: 466px;
  background-color: #c81623;
}
.nav_left .bd ul li {
  height: 31px;
  line-height: 31px;
  padding: 0 10px;
  color: #fff;
}

.nav_left .bd ul li a {
  color: #fff;
  font-size: 14px;
}
.nav_left .bd ul li:hover {
  margin-left: 1px;
  color: #c81623;
  background-color: #fff;
}
.nav_left .bd ul li:hover a {
  color: #c81623;
}

/* 右侧 */
.nav ul li {
  float: left;
}
.nav ul li a {
  /* 转换为块级元素 增大点击的范围 提升用户体验 */
  display: block;
  padding: 0 25px;
  height: 45px;
  line-height: 45px;
  color: #333;
  font-size: 16px;
}

.nav ul li a:hover {
  color: #c81623;
}

/* footer  */
.footer {
  height: 417px;
  background-color: #f5f5f5;
}
/* foot_up */
.foot_up {
  height: 109px;
  border-bottom: 1px solid #ccc;
}
.foot_up ul li {
  float: left;
  width: 20%;
  height: 80px;
  margin-top: 30px;
}
.foot_up li .icon {
  float: left;
  background: url(./../img/icons.png);
  width: 49px;
  height: 49px;
  margin-right: 6px;
  margin-left: 34px;
  background-position: -253px -3px;
}
/* foot_middle */
.foot_middle {
  height: 187px;
  border-bottom: 1px solid #ccc;
}
.foot_middle dl {
  float: left;
  width: 150px;
  padding-left: 50px;
}
.foot_middle dl dt {
  margin: 21px 0 13px;
  color: #333333;
  font-size: 16px;
}
.foot_middle dl dd {
  line-height: 20px;
}

.foot_middle dl:last-child dt {
  padding-left: 10px;
}

.foot_middle dl:last-child p {
  padding-left: 10px;
  color: #333;
}

/* foot_down */
.foot_down {
  text-align: center;
}
.foot_down p {
  line-height: 20px;
}
.foot_down p:nth-child(1) {
  padding: 18px 0 15px;
}
.foot_down p:nth-child(1) span {
  margin: 0 10px;
  color: #999999;
}
